package service.impl;

import dao.DeptDao;
import dao.impl.DeptDaoImpl;
import pojo.Dept;
import service.DeptService;

import java.util.List;

public class DeptServiceImpl implements DeptService {

    DeptDao ed=new DeptDaoImpl();

    @Override
    public List<Dept> listDept() {
        return ed.listDept();
    }

   /* @Test
    public void test(){
        List<Dept> list=listDept();
        for(Dept dept:list){
            System.out.println(dept);
        }
    }*/
}
